package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.youedata.modular.entity.WaterMeterRepairInfo;
import com.youedata.modular.mapper.WaterMeterRepairInfoMapper;
import com.youedata.modular.service.IWaterMeterRepairInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 水表保修表 服务实现类
 * </p>
 *
 * @author hst
 * @date 2021-07-26
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class WaterMeterRepairInfoServiceImpl extends ServiceImpl<WaterMeterRepairInfoMapper, WaterMeterRepairInfo> implements IWaterMeterRepairInfoService {

    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private WaterMeterRepairInfoMapper waterMeterRepairInfoMapper;

    @Override
    public List queryFuzzySearch(Page page,  WaterMeterRepairInfo waterMeterRepairInfo) {
        return waterMeterRepairInfoMapper.queryFuzzySearch(page, waterMeterRepairInfo);
    }

}

